﻿using System;
using System.Collections.Generic;

namespace Iptv.MediaReporter.Model
{
    /// <summary>
    /// 介质详情上报对象
    /// </summary>
    internal class ReportDetailData : ReportBaseModel
    {
        public List<MediaDetail> dataList { get; set; }
    }

    /// <summary>
    /// 介质详情对象
    /// </summary>
    internal class MediaDetail
    {
        // <summary>
        /// 建档编号
        /// </summary>
        public string guid { get; set; }
        /// <summary>
        /// 数据上报时间
        /// </summary>
        public string descriptionDateTime { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
        /// <summary>
        /// 中文名称（标题）
        /// </summary>
        public string titleCn { get; set; }
        /// <summary>
        /// 英文名称（标题）
        /// </summary>
        public string titleEn { get; set; } = string.Empty;
        /// <summary>
        /// 内容简介
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        public string label { get; set; }
    }
}
